package com.softwarerusher.model;

import java.util.HashSet;
import java.util.Set;

/**
 * TAttr entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TAttr implements java.io.Serializable {

	// Fields

	private Integer attrId;
	private String attrName;
	private Set TBooks = new HashSet(0);

	// Constructors

	/** default constructor */
	public TAttr() {
	}

	/** minimal constructor */
	public TAttr(String attrName) {
		this.attrName = attrName;
	}

	/** full constructor */
	public TAttr(String attrName, Set TBooks) {
		this.attrName = attrName;
		this.TBooks = TBooks;
	}

	// Property accessors

	public Integer getAttrId() {
		return this.attrId;
	}

	public void setAttrId(Integer attrId) {
		this.attrId = attrId;
	}

	public String getAttrName() {
		return this.attrName;
	}

	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}

	public Set getTBooks() {
		return this.TBooks;
	}

	public void setTBooks(Set TBooks) {
		this.TBooks = TBooks;
	}

}